import '../model/plantModel.dart';

// 默认植物数据
final List<Plant> default_plants = [
  Plant(
    id: '1',
    name: 'Agave',
    image: 'assets/images/plant1.png',
    water_day: '7',
    create_time: DateTime.now()
        .subtract(const Duration(days: 231))
        .toIso8601String(),
    image_list: {
      '2025-06-22': 'assets/images/plant2_history1.png',
      '2025-06-21': 'assets/images/plant2_history1.png',
      '2023-09-30': 'assets/images/plant2_history1.png',
      '2023-11-12': 'assets/images/plant2_history1.png',
      '2024-01-20': 'assets/images/plant2_history1.png',
    },
  ),
  Plant(
    id: '2',
    name: 'Monstera',
    image: 'assets/images/plant2.png',
    water_day: '5',
    create_time: DateTime.now()
        .subtract(const Duration(days: 145))
        .toIso8601String(),
    image_list: {
      '2023-10-05': 'assets/images/plant2_history1.png',
      '2023-12-18': 'assets/images/plant2_history1.png',
      '2024-02-22': 'assets/images/plant2_history1.png',
    },
  ),
  Plant(
    id: '3',
    name: 'Aloe Vera',
    image: 'assets/images/plant3.png',
    water_day: '10',
    create_time: DateTime.now()
        .subtract(const Duration(days: 87))
        .toIso8601String(),
    image_list: {
      '2024-01-15': 'assets/images/plant2_history1.png',
      '2024-03-02': 'assets/images/plant2_history1.png',
    },
  ),
  Plant(
    id: '4',
    name: 'Snake Plant',
    image: 'assets/images/plant4.png',
    water_day: '14',
    create_time: DateTime.now()
        .subtract(const Duration(days: 302))
        .toIso8601String(),
    image_list: {
      '2023-05-10': 'assets/images/plant2_history1.png',
      '2023-07-24': 'assets/images/plant2_history1.png',
      '2023-09-18': 'assets/images/plant2_history1.png',
      '2023-12-05': 'assets/images/plant2_history1.png',
      '2024-02-15': 'assets/images/plant2_history1.png',
      '2024-04-10': 'assets/images/plant2_history1.png',
    },
  ),
  Plant(
    id: '5',
    name: 'Peace Lily',
    image: 'assets/images/plant5.png',
    water_day: '3',
    create_time: DateTime.now()
        .subtract(const Duration(days: 56))
        .toIso8601String(),
    image_list: {
      '2024-02-28': 'assets/images/plant2_history1.png',
      '2024-03-15': 'assets/images/plant2_history1.png',
      '2024-04-02': 'assets/images/plant2_history1.png',
    },
  ),
];
